package com.ws.game.lesson6
{
	import com.ws.game.common.components.SpriteLoader;
	import com.ws.game.lesson5.map.L5;
	import com.ws.game.skins.PlayerSkin;
	
	public class L6 extends L5
	{
		public function L6()
		{
			super();
		}
		
		override protected function addGameObjects():void{			
//			var gCtrl : Key8Ctrl=new Key8Ctrl();
//			var gObj : Action8Object =new Action8Object(gCtrl,new PlayerSkin());
//			gObj.x =200;
//			gObj.y =200;
//			this.gSce.addGameObject(gObj);			
			
			while(this.numChildren>0){
				this.removeChildAt(0);
			}
			var ma:L6MapScen = new L6MapScen(this.parent.stage);
			ma.setup(mapconfig);			
			
			this.gSce = ma;		
			this.addChild(gSce);
		}
	}
}